package org.fatmansoft.teach.Repository.ViewRepository.PracticeInfo;

import org.fatmansoft.teach.entity.ViewEntity.PracticeInfo.EPracticeType;
import org.fatmansoft.teach.entity.ViewEntity.PracticeInfo.PracticeType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface PracticeTypeRepository extends JpaRepository<PracticeType, Integer> {
    PracticeType findByName(EPracticeType name);  //根据类型获取PracticeType
}
